/* DXCESS — standalone stylesheet */
:root {
    --background: 36 40% 98%;
    --foreground: 222 30% 14%;
    --card: #ffffff;
    --muted: #f3f4f6;
    --muted-foreground: 220 12% 45%;
    --secondary: #f4f0e9;
    --border: 220 16% 90%;
    --brand: 158 64% 42%;
    --brand-foreground: 0 0% 100%;
    --brand-soft: 158 60% 94%;
    --accent: #f57a25;
    --accent-foreground: #ffffff;
    --warn-soft: #fdecdd;
    --shadow-soft: 0 10px 30px -12px rgba(20, 28, 46, 0.1);
    --shadow-card: 0 1px 2px rgba(20, 28, 46, 0.04), 0 8px 24px -12px rgba(20, 28, 46, 0.08);
    --radius: 1rem;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid hsl(hsl(var(--border)));
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    line-height: 1.5;
}
h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 800;
    line-height: 1.1;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section {
    padding: 5rem 0;
}
@media (min-width: 768px) {
    .section {
        padding: 7rem 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 3rem;
    padding: 0 1.6rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.btn-primary {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
}
.btn-primary:hover {
    opacity: 0.9;
}
.btn-outline {
    background: var(--card);
    border-color: hsl(hsl(var(--border)));
    color: hsl(var(--foreground));
}
.btn-outline:hover {
    background: var(--muted);
}
.btn-sm {
    height: 2.25rem;
    padding: 0 1rem;
    font-size: 0.85rem;
}
.arrow {
    width: 1rem;
    height: 1rem;
    transition: transform 0.25s;
}
/* ---------- Navbar ---------- */
.navbar {
      position: fixed;
    top: 0;
    z-index: 50;
    background: hsl(var(--background) / 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border) / 0.6);
    width: 100%;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.logo-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: hsl(var(--brand));
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-soft);
}
.logo-mark span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.25rem;
    background: hsl(var(--brand-foreground));
}
.logo-text {
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: none;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.nav-links a {
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}
.nav-links a:hover {
    color: hsl(var(--foreground));
}
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.btn-nav {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    border-radius: 9999px;
    padding: 0 1.25rem;
    height: 2.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

/* Hero */
.bg-hero {
    background-image: radial-gradient(1200px 600px at 80% -10%, rgba(39, 166, 119, 0.1), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(245, 122, 37, 0.08), transparent 60%);
}
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 1023px) {
    .hero{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid hsl(var(--border));
    background: var(--card);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    box-shadow: var(--shadow-soft);
}
.eyebrow .dot {
    height: 0.4rem;
    width: 0.4rem;
    border-radius: 9999px;
    background: hsl(var(--brand));
}
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-top: 1.25rem;
    padding-right: 0.5rem;
}

.hero h1 .sub {
    display: block;
    color: hsl(var(--muted-foreground));
    font-weight: 700;
}
.lead {
    margin-top: 1.5rem;
    color: hsl(var(--muted-foreground));
    font-size: 1.1rem;
    max-width: 36rem;
}
.hero-ctas {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hero-card {
    background: var(--card);
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
}
.hero-card.left {
    transform: rotate(-2deg);
}
.hero-card.right {
    transform: rotate(2deg);
}
.hero-card .h-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live {
    font-size: 0.65rem;
    color: hsl(var(--brand));
    background: hsl(var(--brand-soft));
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
}
.bubble {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    background: var(--muted);
    margin-bottom: 0.4rem;
}
.bubble.warn {
    background: var(--warn-soft);
}
.bubble svg {
    color: hsl(var(--muted-foreground));
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
}
.row .lab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
}
.row .lab strong {
    color: hsl(var(--foreground));
    font-weight: 500;
}
.pill {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
    background: var(--muted);
    color: hsl(var(--muted-foreground));
}
.pill.done {
    background: hsl(var(--brand-soft));
    color: hsl(var(--brand));
}

/* Generic centered headings */
.center {
    text-align: center;
}
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
.section-sub {
    margin-top: 0.75rem;
    color: hsl(var(--muted-foreground));
    font-size: 1.05rem;
}
.max-2xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Struggle / WhoFor / Solutions grids */
.grid-4 {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 3rem;
}
@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}
.card {
    background: var(--card);
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}
.card:hover {
    box-shadow: var(--shadow-card);
}
.icon-square {
    display: grid;
    place-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 0.85rem;
    margin: 0 auto;
}
.icon-square.warn {
    background: var(--warn-soft);
    color: var(--accent);
}
.icon-square.brand {
    background: hsl(var(--brand-soft));
    color: hsl(var(--brand));
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 1rem;
}
.card p {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}
.muted {
    color: hsl(var(--muted-foreground));
}
.struggle-foot {
    margin-top: 2.5rem;
    font-size: 1.05rem;
    color: hsl(var(--muted-foreground));
}

/* Disconnected */
.bg-secondary {
    background: rgba(244, 240, 233, 0.5);
}
.two-col {
    display: grid;
    gap: 3.5rem;
    align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr 1fr;
    }
}
.tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.tool .ti {
    display: grid;
    place-items: center;
    height: 4rem;
    width: 4rem;
    border-radius: 1rem;
}
.tool span {
    font-size: 0.7rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
}
.eyebrow-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.list-pain {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.list-pain li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--card);
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    font-weight: 500;
}
.list-pain li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--accent);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Turning */
.flip-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}
.flip-card {
    background: var(--card);
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
    text-align: left;
}
.flip-card.clear {
    border-color: rgba(39, 166, 119, 0.3);
    box-shadow: var(--shadow-card);
}
.flip-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
}
.flip-card.clear .flip-label {
    color: hsl(var(--brand));
}
.bar {
    height: 0.5rem;
    border-radius: 0.25rem;
    background: var(--muted);
    margin-bottom: 0.5rem;
}
.bar.warn {
    background: var(--warn-soft);
}
.bar.b1 {
    background: rgba(39, 166, 119, 0.8);
}
.bar.b2 {
    background: rgba(39, 166, 119, 0.6);
}
.bar.b3 {
    background: rgba(39, 166, 119, 0.4);
}
.bar.b4 {
    background: rgba(39, 166, 119, 0.3);
}
.flip-arrow {
    display: grid;
    place-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 9999px;
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    box-shadow: var(--shadow-soft);
}
.chip-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(var(--brand-soft));
    color: hsl(var(--brand));
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Features */
.features-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin-top: 3rem;
}
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.feat {
    background: var(--card);
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}
.feat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.feat .ic {
    display: grid;
    place-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 1rem;
    background: hsl(var(--brand-soft));
    color: hsl(var(--brand));
}
.feat h3 {
    margin-top: 1.25rem;
    font-size: 1.25rem;
}
.feat p {
    margin-top: 0.5rem;
    color: hsl(var(--muted-foreground));
}
.banner {
    margin-top: 1.25rem;
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.banner .ic {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: grid;
    place-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 1rem;
}
.banner h3 {
    margin-top: 1.25rem;
    font-size: 1.75rem;
}
.banner p {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}
.blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
}
.blob.b1 {
    right: -5rem;
    bottom: -5rem;
    height: 18rem;
    width: 18rem;
    background: rgba(39, 166, 119, 0.3);
}
.blob.b2 {
    right: -2.5rem;
    top: 2.5rem;
    height: 10rem;
    width: 10rem;
    background: rgba(245, 122, 37, 0.2);
}

/* Flow */
.flow {
    margin-top: 3.5rem;
    position: relative;
}
.flow-line {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 1.75rem;
    height: 0;
    border-top: 2px dashed hsl(var(--border));
}
@media (min-width: 768px) {
    .flow-line {
        display: block;
    }
}
.flow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}
@media (min-width: 768px) {
    .flow-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-ic {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background: var(--card);
    box-shadow: var(--shadow-soft);
}
.step-ic.done {
    background: hsl(var(--brand));
    color: hsl(var(--brand-foreground));
    border-color: hsl(var(--brand));
}
.step-label {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.step-num {
    font-size: 0.7rem;
    color: hsl(var(--muted-foreground));
}
.flow-foot {
    margin-top: 3rem;
    text-align: center;
    color: hsl(var(--muted-foreground));
}
.flow-foot strong {
    display: block;
    margin-top: 0.25rem;
    color: hsl(var(--foreground));
}

/* BeforeAfter */
.ba {
    margin-top: 3rem;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .ba {
        grid-template-columns: 1fr 1fr;
    }
}
.ba-box {
    background: var(--card);
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}
.ba-box.after {
    border-color: rgba(39, 166, 119, 0.3);
    box-shadow: var(--shadow-card);
}
.ba-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ba-box.after .ba-tag {
    color: hsl(var(--brand));
}
.ba ul {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ba li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-weight: 500;
}
.ba .before-li {
    background: rgba(253, 236, 221, 0.6);
}
.ba .after-li {
    background: hsl(var(--brand-soft));
}
.ba .badge {
    display: grid;
    place-items: center;
    height: 1.75rem;
    width: 1.75rem;
    border-radius: 9999px;
    flex-shrink: 0;
}
.ba .badge.x {
    background: var(--card);
    color: var(--accent);
    border: 1px solid hsl(var(--border));
}
.ba .badge.c {
    background: hsl(var(--brand));
    color: hsl(var(--brand-foreground));
}

/* OtherSolutions */
.bg-muted {
    background: rgba(243, 244, 246, 0.4);
}
.sol-grid {
    margin-top: 3rem;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .sol-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1024px) {
    .sol-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.sol {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}
.sol:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(39, 166, 119, 0.4);
}
.sol .si {
    display: grid;
    place-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 0.85rem;
    background: rgba(39, 166, 119, 0.1);
    color: hsl(var(--brand));
    transition: all 0.3s;
}
.sol:hover .si {
    background: hsl(var(--brand));
    color: #fff;
}
.sol h3 {
    margin-top: 1.25rem;
    font-size: 1.1rem;
}
.sol .hook {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.sol .sum {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
}
.sol .more {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--brand));

    transition: opacity 0.3s;
}
.sol:hover .more {
    opacity: 1;
}

/* Close + footer */
.close {
    padding: 5rem 0 8rem;
    text-align: center;
}
.close h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.15;
}
.close p {
    margin: 1.25rem auto 0;
    max-width: 36rem;
    color: hsl(var(--muted-foreground));
    font-size: 1.1rem;
}
.close-ctas {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
/* ---------- Footer ---------- */
.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}


/* ========== Mobile Nav Drawer ========== */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.375rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    transition: background 0.2s;
}
.nav-hamburger:hover { background: hsl(var(--muted)); }
.nav-hamburger span {
    display: block;
    height: 2px;
    border-radius: 9999px;
    background: hsl(var(--foreground));
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    transform-origin: center;
}

@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: hsl(var(--foreground) / 0.25);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    /* NO display:none */
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: min(300px, 85vw);
    height: 100vh;
    background: #fff;
    border-right: 1px solid hsl(var(--border));
    box-shadow: 8px 0 40px hsl(222 30% 14% / 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid hsl(var(--border));
    flex-shrink: 0;
}

.nav-close {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 0.5rem;
    color: hsl(var(--muted-foreground));
    transition: background 0.2s, color 0.2s;
}
.nav-close:hover {
    background: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.nav-drawer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    overflow-y: auto;
}

.drawer-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    border-left: 3px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    letter-spacing: -0.01em;
}
.drawer-link:hover {
    background: hsl(var(--brand-soft));
    border-left-color: hsl(var(--brand));
    color: hsl(var(--brand));
}

.nav-drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid hsl(var(--border));
    flex-shrink: 0;
}

/* hide on mobile */
.desktop-only {
    display: none;
}
@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
}

/* hide on desktop */
.mobile-only {
    display: block;
}
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}